cmake_minimum_required (VERSION 3.5)
project(MainConsole)

# file(GLOB_RECURSE EXEDEMO_INCLUDE ${PROJECT_SOURCE_DIR}/include/*.h ${PROJECT_SOURCE_DIR}/include/*.hpp)
file(GLOB EXEDEMO_SRC 
    ${PROJECT_SOURCE_DIR}/*.cpp
    # ${PROJECT_SOURCE_DIR}/ErrorDetection/*.cpp
)

add_executable(${PROJECT_NAME} ${EXEDEMO_SRC})

# target_include_directories(${PROJECT_NAME}
# 	PUBLIC
# 	# ${PROJECT_SOURCE_DIR}/include
# 	# ${PROJECT_SOURCE_DIR}
# )

# 设置输出目录
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
